package co.yixiang.hw.service.dto;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/**
* @author Walert
* @date 2020-02-13
*/
@Data
@ApiModel(value = "购物车接口API返回实体")
public class YxStoreCartDto implements Serializable {

    /** 购物车表ID */
    @ApiModelProperty(value = "购物车表ID")
    private Long id;

    /** 用户ID */
    @ApiModelProperty(value = "用户ID")
    private Integer uid;

    /** 类型 */
    @ApiModelProperty(value = "类型")
    private String type;

    /** 商品ID */
    @ApiModelProperty(value = "商品ID")
    private Integer productId;

    /** 商品属性 */
    @ApiModelProperty(value = "商品属性")
    private String productAttrUnique;

    /** 商品数量 */
    @ApiModelProperty(value = "商品数量")
    private Integer cartNum;

    /** 添加时间 */
    @ApiModelProperty(value = "添加时间")
    private Integer addTime;

    /** 0 = 未购买 1 = 已购买 */
    @ApiModelProperty(value = "0 = 未购买 1 = 已购买")
    private Integer isPay;

    /** 是否删除 */
    @ApiModelProperty(value = "是否删除")
    private Integer isDel;

    /** 是否为立即购买 */
    @ApiModelProperty(value = "是否为立即购买")
    private Integer isNew;

    /** 拼团id */
    @ApiModelProperty(value = "拼团id")
    private Integer combinationId;

    /** 秒杀产品ID */
    @ApiModelProperty(value = "秒杀产品ID")
    private Integer seckillId;

    /** 砍价id */
    @ApiModelProperty(value = "砍价id")
    private Integer bargainId;

    /** 是否选中 0 = 未选中 1 = 选中 */
    @ApiModelProperty(value = "是否选中 0 = 未选中 1 = 选中")
    private Integer isCheck;
}